//? 模拟接口
function inter(content,time) {
    return new Promise(resolve => {
        setTimeout(() => {
            console.log(content)
            resolve(content)
        },time)
    })
}
//? async await
async function print() {
    await inter('1',1000)
    await inter('2',2000)
    await inter('3',1000)
}
print()

//? promise 解法见Promise重点题-21

